﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="bolConcepto.aspx.cs" Inherits="Secretaria_bol"  Theme=""%>


<link href="../Secretaria/Conceptos.css" rel="stylesheet" type="text/css" />
<style media="print">
.noprint{
    display:none;
   }
</style>
<script>
window.onbeforeprint=beforePrint
window.onafterprint=afterPrint
function beforePrint()
{
	document.body.style.zoom =  document.getElementById("zoom").value/100;
}

function afterPrint()
{
	document.body.style.zoom = "100%";
}

</script>
<form id="form1" runat="server">
<div class="noprint" style="top:0; left:400px; position:absolute; background-color:Gray; border:solid 1px #000000;">
<table border="0" cellspacing="0" cellpadding="0" id="footer" style="width: 233px" >
  <tr>
    <td>
	    Zoom:</td><td><input type="text" value="80" name="zoom" id="zoom" size="3" runat="server"/>
        <asp:imagebutton id="ImageButton1" runat="server" imageurl="~/images/Guardar.jpg"
            onclick="ImageButton1_Click"></asp:imagebutton>
            </td><td>
        <img class="noprint" src="../datatest/print.jpg" onclick="miPrint();" style="cursor:hand;width:30px;height:30px" ></img>
        </td>
    </tr>
</table>
    Ordenar por:
    <asp:dropdownlist id="cboOrden" runat="server" autopostback="True"><asp:ListItem Selected="True" Value="0">Promedio</asp:ListItem>
<asp:ListItem Value="1">Alumno</asp:ListItem>
</asp:dropdownlist>
</div>
   
    <asp:image id="Image1" runat="server" imageurl="~/DataTest/iis-banner.jpg"></asp:image>
    <br />
    <asp:label id="lblCurso" runat="server" text="Curso" CssClass="titulo "></asp:label>
    <br />
    <asp:gridview id="GridView1" 
        runat="server" 
        cssclass="tabulardata"
        forecolor="Black" 
        onrowdatabound="GridView1_RowDataBound"
        skinid="Boletin" 
       BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" GridLines="Horizontal">
<FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True"></FooterStyle>

<RowStyle BorderStyle="Double" BorderWidth="1px" BorderColor="#C04000"></RowStyle>

<HeaderStyle BackColor="#732808" ForeColor="White" BorderWidth="1px" Font-Bold="True"></HeaderStyle>
</asp:gridview>

</form>
<script language="javascript">
//viewinit;
function miPrint(){
    window.print();   
}
</script>
